﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DTO;
using BUS;

namespace NGU.WUC
{
    public partial class dat_tour_dang_ky : System.Web.UI.UserControl
    {
        protected ListTourDetailDTO tourDet;
        protected void Page_Load(object sender, EventArgs e)
        {
            string tripId = Request["TripId"].ToString();
            //get thong tin tour ve
            TourBUS tourBus = new TourBUS();
            this.tourDet = tourBus.layThongTinChiTietTour("", tripId);
            if (this.tourDet == null)
            {
                Response.Redirect("/InfoPage.aspx?action=error&type=unknown");
            }
            // kiem tra tour co di may bay khong de them thong tin khach hang


            //set tour Detail de lay thong tin tinh toan cho cac step sau
            Session["TourDetail"] = this.tourDet;
        }
    }
}